package rsj.api.account.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 更新权限
 *
 * @author yuanqinglong
 * @since 2021/8/20 16:49
 */
@Data
public class UpdateAccountProduct {

    /**
     * 机构id
     */
    @NotBlank(message = "机构id不可为空")
    private String orgId;
    /**
     * 权限
     */
    @JSONField(name = "list")
    private List<AccountProduct> accountProducts;
}
